﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class TestUsercontrol : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        DatabaseProcess dp = new DatabaseProcess();
        String query = "select title,details,news_id from news ";
        DataTable dt = dp.ConnectDataBaseReturnDT(query);
        us2.Dt = dt;        
        us2.Fetch_data();        
    }
}